var verify_qty_list = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"verify_qty_list"}');
//存在同item不同箱包修改
var detailListQty = isNull(request_sku_list) ? []:findSameItemByList(JSON.parse(request_sku_list), item_nbr);
var qtyList = getUniqueValues(detailListQty, "vnpk_qty");
if (!isNull(vnpk_qty)) {
    if (qtyList.indexOf(vnpk_qty) == -1) {
        qtyList.push(vnpk_qty);
    }
}

if (!isNull(qtyList) && qtyList.length > 1) {
    verify_qty_list.CODE = 2;
    verify_qty_list.ACTION = 'risk';
    verify_qty_list.MSG = '存在同item不同箱包修改';
}


JSON.stringify(verify_qty_list);


